import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useHistoryStore = defineStore('historyStore', () => {
  const tableHState = ref(1) // table高度切换  //1全屏2一半3全收

  const setTableH = (payload) => {
    tableHState.value = payload
  }

  return {
    tableHState,
    setTableH,
  }
})
